﻿<%@ Page Language="vb" ContentType="text/xml" AutoEventWireup="false" CodeBehind="rssList.aspx.vb" Inherits="Assignment2.rssList" %>


<asp:Repeater id="rptRSS" runat="server">
  <HeaderTemplate>
    <rss version="2.0">
      <channel>
        <title>Registered Users</title>
        <description>
          This is the syndication feed for Registered Users
        </description>
  </HeaderTemplate>

  <ItemTemplate>
        <item>
          <UserAvatarPicture><%# GetPicture(DataBinder.Eval(Container.DataItem,"UserAvatarPicture"))%>
          </UserAvatarPicture>
          <UserFirstName>
             <%# FormatForXML(DataBinder.Eval(Container.DataItem,"UserFirstName"))%>
          </UserFirstName>

          <UserLastName>
             <%# FormatForXML(DataBinder.Eval(Container.DataItem,"UserLastName"))%>
          </UserLastName>
          

          <linkdetails>
             <%# GetLink(DataBinder.Eval(Container.DataItem, "ID"))%>
          </linkdetails>
        
        </item>
  </ItemTemplate>

  <FooterTemplate>
      </channel>
    </rss>  
  </FooterTemplate>
</asp:Repeater>
